#ifndef FILEHANDLER_H
#define FILEHANDLER_H

#include "Headers.h"
#include "Model.h"
#include "FileNotFoundException.h"

class FileHandler : public Model
{
private:
    QString _fileName;
public:
    FileHandler(const QString & fileName);
    virtual ~FileHandler();

    void setName(const QString & fileName);
    QString read();
    void save(const QString &data);
};

#endif // FILEHANDLER_H
